import VueRouter from "vue-router";
import Vue from 'vue'
import home from '@/pages/home'

Vue.use(VueRouter)

const router = new VueRouter({
    //路由类型
    mode:'hash',
    //routes
    routes:[
        {
            path:'/home',
            component:home
        }
    ]
})

export default router